<!-- search form -->
<!--
<form action="#" method="get" class="sidebar-form">
    <div class="input-group">
        <input type="text" name="q" class="form-control" placeholder="Search...">
        <span class="input-group-btn">
    <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
    </button>
  </span>
    </div>
</form>-->
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
    <li class="header">MAIN NAVIGATION</li>
    <li class="treeview" id="index">
        <a href="/">
            <i class="fa fa-dashboard"></i> <span>总览</span>
        </a>
    </li>
    <li class="treeview" id="users">
        <a href="#">
            <i class="fa fa-users"></i>
            <span>用户管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="group"><a href="{% url 'user_group_list' %}"><i class="fa fa-circle-o"></i> 用户组</a></li>
            <li class="user"><a href="{% url 'user_list' %}"><i class="fa fa-circle-o"></i> 用户</a></li>
        </ul>
    </li>
    <li class="treeview" id="ops">
        <a href="#">
            <i class="fa fa-bar-chart"></i>
            <span>运营统计</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="grouplist"><a href="/users/grouplist"><i class="fa fa-circle-o"></i> 用户组</a></li>
        </ul>
    </li>
    <!--
    <li class="treeview" id="">
        <a href="#">
            <i class="fa fa-th"></i>
            <span>应用中心</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="grouplist"><a href="/user/grouplist"><i class="fa fa-circle-o"></i> 查看用户组</a></li>
            <li class="userlist"><a href="/user/userlist"><i class="fa fa-circle-o"></i> 查看用户</a></li>
        </ul>
    </li>-->
    <li class="treeview" id="publish">
        <a href="#">
            <i class="fa fa-code"></i> <span>项目发布</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="project"><a href="{% url 'project_list' %}"><i class="fa fa-circle-o"></i> 项目配置</a></li>
            <li class="task"><a href="{% url 'task_list' %}"><i class="fa fa-circle-o"></i> 我的上线单</a></li>
            <li class="submit"><a href="{% url 'task_submit' %}"><i class=" fa fa-circle-o"></i> 提交上线单</a></li>
            <li class="check"><a href="{% url 'file_check' %}"><i class="fa fa-circle-o"></i> 线上文件指纹</a></li>
        </ul>
    </li>
    <li class="treeview" id="assets">
        <a href="#">
            <i class="fa fa-server"></i>
            <span>资产管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="group"><a href="{% url 'asset_group_list' %}"><i class="fa fa-circle-o"></i> 资产组</a></li>
            <li class="idc"><a href="{% url 'idc_list' %}"><i class="fa fa-circle-o"></i> 机房</a></li>
            <li class="asset"><a href="{% url 'asset_list' %}"><i class="fa fa-circle-o"></i> 资产</a></li>
        </ul>
    </li>
    <li class="treeview" id="slb">
        <a href="#">
            <i class="fa fa-globe"></i> <span>SLB 管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li><a href="pages/tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
        </ul>
    </li>
    <!--
    <li class="treeview">
        <a href="#">
            <i class="fa fa-edit"></i> <span>授权管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
            <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
        </ul>
    </li>-->

    <!--
    <li class="header">LABELS</li>
    <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
    <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
    <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>
    -->
    <li class="treeview" id="config">
        <a href="#">
            <i class="fa fa-laptop"></i>
            <span>配置平台</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="keylist"><a href="{% url 'key_list' %}"><i class="fa fa-circle-o"></i> Key&nbsp;管理</a></li>
        </ul>
    </li>
    <li class="treeview" id="jobs">
        <a href="#">
            <i class="fa fa-wrench"></i>
            <span>作业平台</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="remote_exec"><a href="{% url 'remote_exec' %}"><i class="fa fa-circle-o"></i> 执行自定义命令</a></li>
            <li class="fast_execute_script"><a href="{% url 'fast_execute_script' %}"><i class="fa fa-circle-o"></i>
                快速脚本执行</a></li>
            <li class="fast_push_file"><a href="{% url 'fast_push_file' %}"><i class="fa fa-circle-o"></i> 快速分发文件</a>
            </li>
            <li class="job_list"><a href="{% url 'job_list' %}"><i class="fa fa-circle-o"></i> 常用作业执行</a></li>
            <li class="new_task"><a href="{% url 'new_task' %}"><i class="fa fa-circle-o"></i> 新建作业</a></li>
            <li class="crontab_task_list"><a href="{% url 'crontab_task_list' %}"><i class="fa fa-circle-o"></i>
                定时作业</a>
            </li>
            <li class="task_instance_list"><a href="{% url 'task_instance_list' %}"><i class="fa fa-circle-o"></i>
                执行历史</a></li>
        </ul>
    </li>
    <li class="treeview" id="platform">
        <a href="#">
            <i class="fa fa-cloud"></i>
            <span>平台管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="grouplist"><a href="/users/grouplist"><i class="fa fa-circle-o"></i> 配置管理平台</a></li>
            <li class="userlist"><a href="/users/userlist"><i class="fa fa-circle-o"></i> 作业平台</a></li>
        </ul>
    </li>
    <li class="treeview" id="logs">
        <a href="#">
            <i class="fa fa-file-o"></i>
            <span>日志审计</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="keylist"><a href=""><i class="fa fa-circle-o"></i> Key&nbsp;管理</a></li>
        </ul>
    </li>
    <li><a href="{% url 'setting' %}"><i class="fa fa-gears"></i> <span>系统设置</span></a></li>
</ul>